package com.ynyyrj.position.mapper;


import com.ynyyrj.position.pojo.position;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;


@Mapper
@Repository
public interface PositionMapper {

   List<String> selectAllPosition();
   int selectId(String name);
   int add(position position);
   int update(position position);
   int delete(String name);
   String selectName(String name);
}
